<!--
Author: Vuong Van Binh
Email : wanbin@vietnambiz.com
-->
<?php include ADMIN_INCLUDE_DIR."/header.php"; ?>
<div class="container_l">
		<div class="title_user"><img src="images/icon1.gif" />Tài khoản của tôi</div>
		<div class="table_user">
			<div class="table_user_in2">
				<fieldset>
					<legend accesskey="N">Thông tin</legend>
					<div class="lineaddnew">
						<div class="lineform">
							<div class="divlabel">Tên đăng nhập:</div>
							<div class="divform" style="line-height:25px;"><b><?php echo $_SESSION['adlogin']["username"]; ?></b></div>
						</div>
						<div class="lineform">
							<div class="divlabel">Phân quyền:</div>
							<div class="divform" style="line-height:25px;"><b>
                                                        <?php if(empty($_SESSION['adlogin']["permiss"])){echo "Không có";}
                                                        else{
							        $array_module = $CONFIG['array_modules_list'];
							        foreach ($array_module as $key=>$value){									
									  echo "<font class='textbody'>".$array_module[$key]."</font>&nbsp;&nbsp;|&nbsp;&nbsp;";
									}
                                                        }
							   ?>                                       
                                                            </b></div>
						</div>
						<div class="lineform">
							<div class="divlabel">Email:</div>
							<div class="divform" style="line-height:25px;"><a href="mailto:<?php echo $_SESSION['adlogin']["email"]; ?>"><b><?php echo $_SESSION['adlogin']["email"]; ?></b></a></div>
						</div>
						<div class="lineform">
							<div class="divlabel">Đăng nhập lần cuối:</div>
							<div class="divform" style="line-height:25px;"><b><?php echo date('d/m/Y , h:i:s',strtotime($_SESSION['adlogin']["last_login"])); ?></b></div>
						</div>
						
					</div>
					<div class="spacer1"><span></span></div>
				</fieldset>
				
				
				<div class="linesubmit">
					<input type="button" name="Edit" value="Sửa thông tin" class="button" onclick="redirect_url('<?php echo ADMIN_URL; ?>/index.php?module=myaccount&action=change')" />
					<input type="button" name="Back" value="Thoát" class="button" />
				</div>
				
			</div>
		</div>
	</div>
<?php
include "inc/right.php"; 
include ADMIN_INCLUDE_DIR."/footer.php"; 
?>